/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cassys.dataaccess;

import cassys.datatransferobjects.AssessmentDTO;
import cassys.datatransferobjects.LecturerDTO;
import cassys.datatransferobjects.ModuleDTO;
import cassys.datatransferobjects.TeamDTO;
import java.util.ArrayList;

/**
 *
 * @author Priyanka
 */
public interface ModuleDAO {
    
    public void insertModule(ModuleDTO dto);
    public void updatetModule(ModuleDTO dto);
    public void deleteModule(ModuleDTO dto);
    public ModuleDTO findModule(String moduleCode);
    public ModuleDTO[] findAllModules();
    
    public void insertLecturer(LecturerDTO dto);
    public void updateLecturer(LecturerDTO dto);
    public void deleteLecturer(String lecturerid);
    public boolean isExistLecturer(LecturerDTO dto);
    public ArrayList<LecturerDTO> findAllLecturers();
    
    public void insertAssessment(AssessmentDTO dto);
    public void updateAssessment(AssessmentDTO dto);
    public void deleteAssessment(String assessmentid);
    public boolean isExistAssessment(AssessmentDTO dto);
    public ArrayList<AssessmentDTO> findAllAssessment();
   
    
}
